#include <stdio.h>
#include <stdbool.h>

int main(void)
{
    int num[10];

    printf("Enter 10 numbers: \n");
    for (int i = 0; i < 10; i++)
    {
        scanf("%d", &num[i]);
    }

    int step = 0;

    for (int j = 0; j < 10; j++)
    {
        for (int k = 0; k < 10; k++)
        {
            step++;
            if (j != k && num[j] == num[k])
            {
                printf("Repeated\n");
                printf("%d", step);
                return true;
            }
        }       
    }
    printf("No repeated\n");
    printf("%d", step);
    return false;
}